﻿using HKEA.CMS.Core.Models;

namespace HKEA.CMS.Core.IDAL
{
    public interface ItbCodeGeneratorDAL
    {
        #region 公共方法

        bool IsExist(string type);

        bool IsExist(string type, int year, int month);

        tbCodeGenerator GetEntByType(string type);

        int InsertENT(tbCodeGenerator ent);

        int UpdateENT(tbCodeGenerator ent);

        #endregion
    }
}
